package com.xusheng.cli.entity.commentModule;

import com.baomidou.mybatisplus.annotation.TableField;
import com.xusheng.cli.common.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * (Comment)表实体类
 *
 * @author whr
 * @since 2023-11-20 11:11:56
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class Comment extends BaseEntity {
    private static final long serialVersionUID = -5250977448960698059L;
    /**
     * 视频id
     */
    private Long videoId;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 评论
     */
    private String comment;

    @TableField(exist = false)
    private String account;

    @TableField(exist = false)
    private LocalDateTime startTime;

    @TableField(exist = false)
    private LocalDateTime endTime;

}

